<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>李明的个人主页 - 友趣社交</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        :root {
            --primary: #4361ee;
            --primary-light: #7209b7;
            --secondary: #3f37c9;
            --accent: #4895ef;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --light-gray: #e9ecef;
            --success: #38b000;
            --danger: #e63946;
            --warning: #ffb703;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }
        
        body {
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #f5f7fa;
            color: var(--dark);
            line-height: 1.6;
        }
        
        .navbar {
            background-color: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            padding: 0.8rem 1rem;
        }
        
        .navbar-brand {
            color: var(--primary);
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 1.4rem;
        }
        
        .nav-link {
            color: var(--dark);
            font-weight: 500;
            margin: 0 5px;
            transition: var(--transition);
        }
        
        .nav-link:hover, .nav-link.active {
            color: var(--primary);
        }
        
        /* 头部封面样式 */
        .profile-header {
            position: relative;
            height: 320px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            margin-bottom: -100px;
        }
        
        .cover-photo {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.6;
        }
        
        .profile-actions {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            display: flex;
            gap: 1rem;
        }
        
        /* 个人资料卡片样式 */
        .profile-container {
            padding: 3rem 0 2rem;
        }
        
        .profile-card {
            background-color: white;
            border-radius: 12px;
            box-shadow: var(--shadow);
            overflow: hidden;
            margin-bottom: 2rem;
        }
        
        .profile-info {
            padding: 2rem;
            padding-top: 80px;
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
        }
        
        .avatar-container {
            flex: 0 0 160px;
        }
        
        .profile-avatar {
            width: 160px;
            height: 160px;
            border-radius: 50%;
            border: 5px solid white;
            box-shadow: var(--shadow);
            object-fit: cover;
        }
        
        .profile-main-info {
            flex: 1;
            min-width: 300px;
        }
        
        .profile-name {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .profile-title {
            color: var(--gray);
            font-size: 1.1rem;
            margin-bottom: 1rem;
        }
        
        .profile-description {
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }
        
        .profile-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            margin-bottom: 1.5rem;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--gray);
        }
        
        .meta-item i {
            color: var(--primary);
        }
        
        .profile-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }
        
        .profile-tag {
            background-color: rgba(67, 97, 238, 0.1);
            color: var(--primary);
            padding: 5px 12px;
            border-radius: 16px;
            font-size: 0.9rem;
        }
        
        .profile-connection-status {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 4px;
            font-size: 0.9rem;
            font-weight: 500;
            background-color: rgba(56, 176, 0, 0.1);
            color: var(--success);
            margin-bottom: 1rem;
        }
        
        /* 内容导航 */
        .content-tabs {
            border-top: 1px solid var(--light-gray);
            display: flex;
            background-color: white;
        }
        
        .content-tab {
            padding: 1rem 1.5rem;
            border-bottom: 3px solid transparent;
            color: var(--gray);
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .content-tab:hover {
            color: var(--primary);
        }
        
        .content-tab.active {
            color: var(--primary);
            border-bottom-color: var(--primary);
        }
        
        /* 内容区域 */
        .content-container {
            display: grid;
            grid-template-columns: 3fr 1fr;
            gap: 2rem;
        }
        
        @media (max-width: 992px) {
            .content-container {
                grid-template-columns: 1fr;
            }
        }
        
        .main-content {
            background-color: white;
            border-radius: 12px;
            box-shadow: var(--shadow);
            padding: 2rem;
            margin-bottom: 2rem;
        }
        
        .sidebar-content {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        
        .sidebar-card {
            background-color: white;
            border-radius: 12px;
            box-shadow: var(--shadow);
            padding: 1.5rem;
        }
        
        .card-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .card-title .btn-link {
            font-size: 0.9rem;
            padding: 0;
            color: var(--primary);
        }
        
        /* 动态内容样式 */
        .timeline-item {
            padding: 1.5rem 0;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .timeline-item:last-child {
            border-bottom: none;
        }
        
        .timeline-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .timeline-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .timeline-author {
            flex: 1;
        }
        
        .author-name {
            font-weight: 600;
            margin-bottom: 2px;
        }
        
        .timeline-time {
            font-size: 0.85rem;
            color: var(--gray);
        }
        
        .timeline-content {
            margin-bottom: 1rem;
        }
        
        .timeline-text {
            margin-bottom: 1rem;
            line-height: 1.7;
        }
        
        .timeline-media {
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 1rem;
        }
        
        .timeline-image {
            width: 100%;
            height: auto;
        }
        
        .timeline-actions {
            display: flex;
            gap: 2rem;
        }
        
        .timeline-action {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--gray);
            font-size: 0.9rem;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .timeline-action:hover {
            color: var(--primary);
        }
        
        /* 留言板样式 */
        .message-form {
            margin-bottom: 2rem;
        }
        
        .message-input {
            width: 100%;
            padding: 1rem;
            border: 1px solid var(--light-gray);
            border-radius: 8px;
            resize: none;
            margin-bottom: 1rem;
            font-size: 1rem;
        }
        
        .message-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
        }
        
        .message-actions {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
        }
        
        .message-item {
            padding: 1.5rem;
            border-radius: 12px;
            background-color: var(--light);
            margin-bottom: 1.5rem;
        }
        
        .message-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .message-author-avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .message-author-info {
            flex: 1;
        }
        
        .message-text {
            margin-bottom: 1rem;
            line-height: 1.7;
        }
        
        .message-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9rem;
        }
        
        .message-time {
            color: var(--gray);
        }
        
        .message-footer-actions {
            display: flex;
            gap: 1.5rem;
        }
        
        .message-action {
            color: var(--gray);
            display: flex;
            align-items: center;
            gap: 5px;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .message-action:hover {
            color: var(--primary);
        }
        
        /* 回复样式 */
        .replies-container {
            margin-left: 2rem;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px dashed var(--light-gray);
        }
        
        .reply-item {
            padding: 1rem 0;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .reply-item:last-child {
            border-bottom: none;
        }
        
        .reply-form {
            margin-top: 1rem;
            display: flex;
            gap: 1rem;
        }
        
        .reply-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .reply-input-container {
            flex: 1;
        }
        
        .reply-input {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--light-gray);
            border-radius: 20px;
            resize: none;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }
        
        .reply-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
        }
        
        .reply-actions {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
        }
        
        /* 侧边栏样式 */
        .contact-info-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 1.25rem;
        }
        
        .contact-info-item:last-child {
            margin-bottom: 0;
        }
        
        .contact-info-icon {
            color: var(--primary);
            margin-top: 4px;
        }
        
        .contact-info-content {
            flex: 1;
        }
        
        .contact-info-label {
            font-size: 0.85rem;
            color: var(--gray);
            margin-bottom: 2px;
        }
        
        .contact-info-value {
            font-weight: 500;
        }
        
        /* 共同好友样式 */
        .friends-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .friend-item {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .friend-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .friend-info {
            flex: 1;
        }
        
        .friend-name {
            font-weight: 500;
            margin-bottom: 2px;
        }
        
        .friend-connection {
            font-size: 0.8rem;
            color: var(--gray);
        }
        
        .friend-action {
            color: var(--primary);
            font-size: 0.9rem;
            cursor: pointer;
        }
        
        /* 兴趣爱好样式 */
        .interests-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        
        .interest-item {
            display: flex;
            align-items: center;
            gap: 6px;
            background-color: var(--light);
            padding: 6px 12px;
            border-radius: 16px;
            font-size: 0.9rem;
        }
        
        .interest-icon {
            color: var(--primary);
            font-size: 0.85rem;
        }
        
        /* 按钮样式 */
        .btn-primary {
            background-color: var(--primary);
            border-color: var(--primary);
        }
        
        .btn-primary:hover {
            background-color: var(--secondary);
            border-color: var(--secondary);
        }
        
        .btn-outline-primary {
            color: var(--primary);
            border-color: var(--primary);
        }
        
        .btn-outline-primary:hover {
            background-color: var(--primary);
            color: white;
        }
        
        .btn-light {
            background-color: var(--light);
            border-color: var(--light-gray);
        }
        
        .btn-light:hover {
            background-color: var(--light-gray);
        }
        
        /* 页脚样式 */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 3rem 0 2rem;
            margin-top: 5rem;
        }
        
        .footer-col {
            margin-bottom: 2rem;
        }
        
        .footer-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }
        
        .footer-links {
            list-style: none;
            padding: 0;
        }
        
        .footer-links li {
            margin-bottom: 0.5rem;
        }
        
        .footer-links a {
            color: var(--light-gray);
            text-decoration: none;
            transition: var(--transition);
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .copyright {
            text-align: center;
            padding-top: 2rem;
            margin-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--light-gray);
            font-size: 0.9rem;
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg">
        <div class="container">
            <a class="navbar-brand" href="#">
                <i class="fas fa-users"></i>
                <span>友趣</span>
            </a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav me-auto">
                    <li class="nav-item">
                        <a class="nav-link" href="#">首页</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="#">人际关系</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">兴趣小组</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">活动中心</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">消息</a>
                    </li>
                </ul>
                
                <div class="d-flex align-items-center gap-3">
                    <div class="dropdown">
                        <button class="btn btn-secondary dropdown-toggle rounded-circle" type="button" data-bs-toggle="dropdown">
                            <img src="https://picsum.photos/id/64/40/40" alt="用户头像" width="36" height="36" class="rounded-circle">
                        </button>
                        <ul class="dropdown-menu dropdown-menu-end">
                            <li><a class="dropdown-item" href="#">个人主页</a></li>
                            <li><a class="dropdown-item" href="#">我的好友</a></li>
                            <li><a class="dropdown-item" href="#">设置</a></li>
                            <li><hr class="dropdown-divider"></li>
                            <li><a class="dropdown-item" href="#">退出登录</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </nav>

    <!-- 个人资料头部封面 -->
    <div class="profile-header">
        <img src="https://picsum.photos/id/1048/1200/400" alt="封面照片" class="cover-photo">
        <div class="profile-actions">
            <button class="btn btn-light">
                <i class="fas fa-share-alt me-2"></i>分享
            </button>
            <button class="btn btn-outline-primary">
                <i class="fas fa-ellipsis-h"></i>
            </button>
        </div>
    </div>

    <!-- 主要内容 -->
    <div class="container profile-container">
        <!-- 个人资料卡片 -->
        <div class="profile-card">
            <div class="profile-info">
                <div class="avatar-container">
                    <img src="https://picsum.photos/id/1012/200/200" alt="李明的头像" class="profile-avatar">
                </div>
                
                <div class="profile-main-info">
                    <div class="profile-connection-status">
                        <i class="fas fa-user-check me-1"></i> 已成为好友
                    </div>
                    
                    <h1 class="profile-name">李明</h1>
                    <div class="profile-title">音乐制作人 | 独立音乐人</div>
                    
                    <p class="profile-description">
                        专注于独立音乐创作，擅长吉他和钢琴编曲，拥有5年音乐制作经验。曾为多部独立电影创作原声音乐，发行过3张个人EP。
                        正在寻找志同道合的音乐伙伴一起创作和演出，欢迎音乐爱好者交流合作。
                    </p>
                    
                    <div class="profile-meta">
                        <div class="meta-item">
                            <i class="fas fa-map-marker-alt"></i>
                            <span>北京市朝阳区</span>
                        </div>
                        <div class="meta-item">
                            <i class="fas fa-calendar"></i>
                            <span>加入于 2021年3月</span>
                        </div>
                        <div class="meta-item">
                            <i class="fas fa-users"></i>
                            <span>248 位好友</span>
                        </div>
                        <div class="meta-item">
                            <i class="fas fa-heart"></i>
                            <span>3.2k 获赞</span>
                        </div>
                    </div>
                    
                    <div class="profile-tags">
                        <span class="profile-tag">独立音乐</span>
                        <span class="profile-tag">音乐制作</span>
                        <span class="profile-tag">吉他</span>
                        <span class="profile-tag">钢琴</span>
                        <span class="profile-tag">电影原声</span>
                    </div>
                    
                    <div class="d-flex flex-wrap gap-1.5rem">
                        <button class="btn btn-primary">
                            <i class="fas fa-comment me-2"></i>发消息
                        </button>
                        <button class="btn btn-outline-primary">
                            <i class="fas fa-phone me-2"></i>语音通话
                        </button>
                        <button class="btn btn-outline-primary">
                            <i class="fas fa-video me-2"></i>视频通话
                        </button>
                        <button class="btn btn-light">
                            <i class="fas fa-user-minus me-2"></i>解除好友
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- 内容导航 -->
            <div class="content-tabs">
                <div class="content-tab active">动态</div>
                <div class="content-tab">留言板</div>
                <div class="content-tab">照片</div>
                <div class="content-tab">音乐作品</div>
                <div class="content-tab">好友</div>
            </div>
        </div>
        
        <!-- 内容区域 -->
        <div class="content-container">
            <!-- 主要内容 -->
            <div class="main-content">
                <!-- 动态内容 -->
                <div class="timeline-item">
                    <div class="timeline-header">
                        <img src="https://picsum.photos/id/1012/100/100" alt="李明的头像" class="timeline-avatar">
                        <div class="timeline-author">
                            <div class="author-name">李明</div>
                            <div class="timeline-time">今天 14:30</div>
                        </div>
                    </div>
                    
                    <div class="timeline-content">
                        <div class="timeline-text">
                            刚完成了一首新的钢琴曲，灵感来自于上周去的那家咖啡馆。分享给大家听听，希望你们喜欢！
                            #原创音乐 #钢琴 #灵感日常
                        </div>
                        
                        <div class="timeline-media">
                            <img src="https://picsum.photos/id/1070/800/400" alt="钢琴照片" class="timeline-image">
                        </div>
                        
                        <div class="timeline-actions">
                            <div class="timeline-action">
                                <i class="fas fa-heart"></i>
                                <span>128</span>
                            </div>
                            <div class="timeline-action">
                                <i class="fas fa-comment"></i>
                                <span>32</span>
                            </div>
                            <div class="timeline-action">
                                <i class="fas fa-share"></i>
                                <span>分享</span>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="timeline-item">
                    <div class="timeline-header">
                        <img src="https://picsum.photos/id/1012/100/100" alt="李明的头像" class="timeline-avatar">
                        <div class="timeline-author">
                            <div class="author-name">李明</div>
                            <div class="timeline-time">昨天 20:15</div>
                        </div>
                    </div>
                    
                    <div class="timeline-content">
                        <div class="timeline-text">
                            周末参加了独立音乐节，见到了很多优秀的音乐人，收获满满！现场氛围太棒了，已经开始期待下一次了。
                        </div>
                        
                        <div class="timeline-media">
                            <img src="https://picsum.photos/id/1050/800/400" alt="音乐节照片" class="timeline-image">
                        </div>
                        
                        <div class="timeline-actions">
                            <div class="timeline-action">
                                <i class="fas fa-heart"></i>
                                <span>215</span>
                            </div>
                            <div class="timeline-action">
                                <i class="fas fa-comment"></i>
                                <span>47</span>
                            </div>
                            <div class="timeline-action">
                                <i class="fas fa-share"></i>
                                <span>分享</span>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="timeline-item">
                    <div class="timeline-header">
                        <img src="https://picsum.photos/id/1012/100/100" alt="李明的头像" class="timeline-avatar">
                        <div class="timeline-author">
                            <div class="author-name">李明</div>
                            <div class="timeline-time">3天前</div>
                        </div>
                    </div>
                    
                    <div class="timeline-content">
                        <div class="timeline-text">
                            新购入的录音设备到了，试录了一段吉他旋律，音质比之前提升了不少！准备开始新专辑的录制工作，敬请期待。
                        </div>
                        
                        <div class="timeline-actions">
                            <div class="timeline-action">
                                <i class="fas fa-heart"></i>
                                <span>156</span>
                            </div>
                            <div class="timeline-action">
                                <i class="fas fa-comment"></i>
                                <span>28</span>
                            </div>
                            <div class="timeline-action">
                                <i class="fas fa-share"></i>
                                <span>分享</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 侧边栏 -->
            <div class="sidebar-content">
                <!-- 联系信息 -->
                <div class="sidebar-card">
                    <h3 class="card-title">
                        联系信息
                        <button class="btn btn-link">编辑</button>
                    </h3>
                    
                    <div class="contact-info-item">
                        <div class="contact-info-icon">
                            <i class="fas fa-envelope"></i>
                        </div>
                        <div class="contact-info-content">
                            <div class="contact-info-label">邮箱</div>
                            <div class="contact-info-value">liming@example.com</div>
                        </div>
                    </div>
                    
                    <div class="contact-info-item">
                        <div class="contact-info-icon">
                            <i class="fas fa-phone"></i>
                        </div>
                        <div class="contact-info-content">
                            <div class="contact-info-label">电话</div>
                            <div class="contact-info-value">仅好友可见</div>
                        </div>
                    </div>
                    
                    <div class="contact-info-item">
                        <div class="contact-info-icon">
                            <i class="fas fa-map-marker-alt"></i>
                        </div>
                        <div class="contact-info-content">
                            <div class="contact-info-label">地址</div>
                            <div class="contact-info-value">北京市朝阳区建国路88号</div>
                        </div>
                    </div>
                    
                    <div class="contact-info-item">
                        <div class="contact-info-icon">
                            <i class="fas fa-globe"></i>
                        </div>
                        <div class="contact-info-content">
                            <div class="contact-info-label">个人网站</div>
                            <div class="contact-info-value">
                                <a href="#" style="color: var(--primary);">www.limingmusic.com</a>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 共同好友 -->
                <div class="sidebar-card">
                    <h3 class="card-title">
                        共同好友 (5)
                        <button class="btn btn-link">查看全部</button>
                    </h3>
                    
                    <div class="friends-list">
                        <div class="friend-item">
                            <img src="https://picsum.photos/id/1027/100/100" alt="好友头像" class="friend-avatar">
                            <div class="friend-info">
                                <div class="friend-name">张小艺</div>
                                <div class="friend-connection">声乐教师</div>
                            </div>
                            <div class="friend-action">
                                <i class="fas fa-user-check"></i>
                            </div>
                        </div>
                        
                        <div class="friend-item">
                            <img src="https://picsum.photos/id/1074/100/100" alt="好友头像" class="friend-avatar">
                            <div class="friend-info">
                                <div class="friend-name">王乐队</div>
                                <div class="friend-connection">黑胶唱片收藏家</div>
                            </div>
                            <div class="friend-action">
                                <i class="fas fa-user-check"></i>
                            </div>
                        </div>
                        
                        <div class="friend-item">
                            <img src="https://picsum.photos/id/1062/100/100" alt="好友头像" class="friend-avatar">
                            <div class="friend-info">
                                <div class="friend-name">刘DJ</div>
                                <div class="friend-connection">电子音乐制作人</div>
                            </div>
                            <div class="friend-action">
                                <i class="fas fa-user-check"></i>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 兴趣爱好 -->
                <div class="sidebar-card">
                    <h3 class="card-title">
                        兴趣爱好
                    </h3>
                    
                    <div class="interests-list">
                        <div class="interest-item">
                            <i class="fas fa-music interest-icon"></i>
                            <span>音乐制作</span>
                        </div>
                        <div class="interest-item">
                            <i class="fas fa-guitar interest-icon"></i>
                            <span>吉他演奏</span>
                        </div>
                        <div class="interest-item">
                            <i class="fas fa-film interest-icon"></i>
                            <span>独立电影</span>
                        </div>
                        <div class="interest-item">
                            <i class="fas fa-coffee interest-icon"></i>
                            <span>咖啡品鉴</span>
                        </div>
                        <div class="interest-item">
                            <i class="fas fa-hiking interest-icon"></i>
                            <span>户外徒步</span>
                        </div>
                        <div class="interest-item">
                            <i class="fas fa-book interest-icon"></i>
                            <span>阅读</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 留言板 -->
        <div class="main-content">
            <h3 class="card-title">留言板</h3>
            
            <!-- 留言表单 -->
            <div class="message-form">
                <textarea class="message-input" rows="4" placeholder="写下你的留言..."></textarea>
                <div class="message-actions">
                    <button class="btn btn-light">取消</button>
                    <button class="btn btn-primary">发送留言</button>
                </div>
            </div>
            
            <!-- 留言列表 -->
            <div class="message-list">
                <!-- 留言1 -->
                <div class="message-item">
                    <div class="message-header">
                        <img src="https://picsum.photos/id/1027/100/100" alt="留言者头像" class="message-author-avatar">
                        <div class="message-author-info">
                            <div class="author-name">张小艺</div>
                            <div class="timeline-time">2天前</div>
                        </div>
                    </div>
                    
                    <div class="message-text">
                        李明你好！听了你的新作品，非常喜欢你的钢琴风格，有空想和你交流一下音乐创作，不知道你最近有没有时间？
                    </div>
                    
                    <div class="message-footer">
                        <div class="message-time">2023-06-15 16:42</div>
                        <div class="message-footer-actions">
                            <div class="message-action">
                                <i class="fas fa-heart"></i>
                                <span>18</span>
                            </div>
                            <div class="message-action reply-toggle">
                                <i class="fas fa-reply"></i>
                                <span>回复</span>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 回复表单 -->
                    <div class="reply-form" style="display: none;">
                        <img src="https://picsum.photos/id/64/100/100" alt="我的头像" class="reply-avatar">
                        <div class="reply-input-container">
                            <textarea class="reply-input" rows="2" placeholder="回复 @张小艺..."></textarea>
                            <div class="reply-actions">
                                <button class="btn btn-sm btn-light reply-cancel">取消</button>
                                <button class="btn btn-sm btn-primary">回复</button>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 回复列表 -->
                    <div class="replies-container">
                        <div class="reply-item">
                            <div class="message-header">
                                <img src="https://picsum.photos/id/1012/100/100" alt="回复者头像" class="message-author-avatar" style="width: 36px; height: 36px;">
                                <div class="message-author-info">
                                    <div class="author-name">李明 <span style="color: var(--gray); font-weight: normal;">回复</span> 张小艺</div>
                                    <div class="timeline-time">1天前</div>
                                </div>
                            </div>
                            
                            <div class="message-text">
                                你好！谢谢你的喜欢，我最近都有空，我们可以约个时间见面聊聊，或者线上交流也可以~
                            </div>
                            
                            <div class="message-footer">
                                <div class="message-time">2023-06-16 09:25</div>
                                <div class="message-footer-actions">
                                    <div class="message-action">
                                        <i class="fas fa-heart"></i>
                                        <span>5</span>
                                    </div>
                                    <div class="message-action reply-toggle">
                                        <i class="fas fa-reply"></i>
                                        <span>回复</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 留言2 -->
                <div class="message-item">
                    <div class="message-header">
                        <img src="https://picsum.photos/id/1062/100/100" alt="留言者头像" class="message-author-avatar">
                        <div class="message-author-info">
                            <div class="author-name">刘DJ</div>
                            <div class="timeline-time">1周前</div>
                        </div>
                    </div>
                    
                    <div class="message-text">
                        上次合作的那首歌反响很不错，很多粉丝都在问什么时候能有完整版，我们要不要考虑继续合作完成它？
                    </div>
                    
                    <div class="message-footer">
                        <div class="message-time">2023-06-08 11:30</div>
                        <div class="message-footer-actions">
                            <div class="message-action">
                                <i class="fas fa-heart"></i>
                                <span>32</span>
                            </div>
                            <div class="message-action reply-toggle">
                                <i class="fas fa-reply"></i>
                                <span>回复</span>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 回复表单 -->
                    <div class="reply-form" style="display: none;">
                        <img src="https://picsum.photos/id/64/100/100" alt="我的头像" class="reply-avatar">
                        <div class="reply-input-container">
                            <textarea class="reply-input" rows="2" placeholder="回复 @刘DJ..."></textarea>
                            <div class="reply-actions">
                                <button class="btn btn-sm btn-light reply-cancel">取消</button>
                                <button class="btn btn-sm btn-primary">回复</button>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 回复列表 -->
                    <div class="replies-container">
                        <div class="reply-item">
                            <div class="message-header">
                                <img src="https://picsum.photos/id/1012/100/100" alt="回复者头像" class="message-author-avatar" style="width: 36px; height: 36px;">
                                <div class="message-author-info">
                                    <div class="author-name">李明 <span style="color: var(--gray); font-weight: normal;">回复</span> 刘DJ</div>
                                    <div class="timeline-time">6天前</div>
                                </div>
                            </div>
                            
                            <div class="message-text">
                                好啊！我也觉得那首歌很有潜力，这周末我有空，我们可以碰个面详细讨论一下后续的创作方向。
                            </div>
                            
                            <div class="message-footer">
                                <div class="message-time">2023-06-09 15:47</div>
                                <div class="message-footer-actions">
                                    <div class="message-action">
                                        <i class="fas fa-heart"></i>
                                        <span>12</span>
                                    </div>
                                    <div class="message-action reply-toggle">
                                        <i class="fas fa-reply"></i>
                                        <span>回复</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 页脚 -->
    <footer>
        <div class="container">
            <div class="row">
                <div class="col-md-4 footer-col">
                    <h3 class="footer-title">友趣</h3>
                    <p>友趣是一个基于兴趣的社交平台，帮助你找到志同道合的朋友，一起分享快乐，探索世界。</p>
                </div>
                
                <div class="col-md-2 footer-col">
                    <h3 class="footer-title">平台功能</h3>
                    <ul class="footer-links">
                        <li><a href="#">交友推荐</a></li>
                        <li><a href="#">兴趣小组</a></li>
                        <li><a href="#">活动中心</a></li>
                        <li><a href="#">兴趣测试</a></li>
                        <li><a href="#">话题讨论</a></li>
                    </ul>
                </div>
                
                <div class="col-md-2 footer-col">
                    <h3 class="footer-title">关于我们</h3>
                    <ul class="footer-links">
                        <li><a href="#">平台介绍</a></li>
                        <li><a href="#">团队成员</a></li>
                        <li><a href="#">加入我们</a></li>
                        <li><a href="#">联系方式</a></li>
                        <li><a href="#">用户反馈</a></li>
                    </ul>
                </div>
                
                <div class="col-md-4 footer-col">
                    <h3 class="footer-title">联系我们</h3>
                    <ul class="footer-links">
                        <li><i class="fas fa-envelope me-2"></i> contact@youqu.com</li>
                        <li><i class="fas fa-phone me-2"></i> 400-123-4567</li>
                        <li><i class="fas fa-map-marker-alt me-2"></i> 北京市朝阳区创意园区A座501</li>
                    </ul>
                </div>
            </div>
            
            <div class="copyright">
                &copy; 2023 友趣社交平台 版权所有 | 京ICP备12345678号
            </div>
        </div>
    </footer>

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        // 内容标签切换
        document.querySelectorAll('.content-tab').forEach(tab => {
            tab.addEventListener('click', function() {
                // 移除所有标签的active类
                document.querySelectorAll('.content-tab').forEach(t => {
                    t.classList.remove('active');
                });
                
                // 给当前点击的标签添加active类
                this.classList.add('active');
                
                // 这里可以添加内容切换的逻辑
            });
        });
        
        // 回复功能
        document.querySelectorAll('.reply-toggle').forEach(toggle => {
            toggle.addEventListener('click', function() {
                // 隐藏所有回复表单
                document.querySelectorAll('.reply-form').forEach(form => {
                    form.style.display = 'none';
                });
                
                // 显示当前留言的回复表单
                const messageItem = this.closest('.message-item, .reply-item');
                const replyForm = messageItem.querySelector('.reply-form');
                
                if (replyForm) {
                    replyForm.style.display = 'flex';
                    replyForm.querySelector('.reply-input').focus();
                }
            });
        });
        
        // 取消回复
        document.querySelectorAll('.reply-cancel').forEach(button => {
            button.addEventListener('click', function() {
                const replyForm = this.closest('.reply-form');
                replyForm.style.display = 'none';
            });
        });
        
        // 加为好友按钮交互
        document.querySelectorAll('.btn-primary').forEach(button => {
            if (button.innerHTML.includes('加为好友')) {
                button.addEventListener('click', function() {
                    this.innerHTML = '<i class="fas fa-check"></i> 请求已发送';
                    this.disabled = true;
                    this.classList.remove('btn-primary');
                    this.classList.add('btn-success');
                });
            }
        });
    </script>
</body>
</html>

